bootm: make use of legacy image format configurable
authorHeiko Schocher <[email protected]>
Wed, 28 May 2014 09:33:33 +0000 (11:33 +0200)
committerTom Rini <[email protected]>
Thu, 5 Jun 2014 18:44:56 +0000 (14:44 -0400)
commit21d29f7f9f4888a4858b58b368ae7cf8783a6ebf
treeb6a50204d2e1af557756d43adbb54a60ca8ff78f
parent5f65826b1bbe155d839db7c92dca4653f0dcf025
bootm: make use of legacy image format configurable

make the use of legacy image format configurable through
the config define CONFIG_IMAGE_FORMAT_LEGACY.

When relying on signed FIT images with required signature check
the legacy image format should be disabled. Therefore introduce
this new define and enable legacy image format if CONFIG_FIT_SIGNATURE
is not set. If CONFIG_FIT_SIGNATURE is set disable per default
the legacy image format.

Signed-off-by: Heiko Schocher <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Lars Steubesand <[email protected]>
Cc: Mike Pearce <[email protected]>
Cc: Wolfgang Denk <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Michal Simek <[email protected]>
Acked-by: Simon Glass <[email protected]>
14 files changed:
README
common/cmd_bootm.c
common/cmd_disk.c
common/cmd_fdc.c
common/cmd_fpga.c
common/cmd_nand.c
common/cmd_source.c
common/cmd_ximg.c
common/image-fdt.c
common/image.c
doc/uImage.FIT/signature.txt
include/config_fallbacks.h
include/configs/zynq-common.h
include/image.h